package com.jhs.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 节点流量视图对象
 *
 * @author zxy
 * @since 2025-08-11 19:21
 */
@Getter
@Setter
@Schema( description = "节点流量视图对象")
public class SysNodesTrafficVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    @Schema(description = "节点id")
    private Long nodeId;
    @Schema(description = "节点的上行流量值")
    private Double upVal;
    @Schema(description = "节点的下行行流量值")
    private Double downVal;
    @Schema(description = "节点的总流量值")
    private Double totalVal;
    @Schema(description = "逻辑删除标识(0-未删除 1-已删除)")
    private Integer isDeleted;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    @Schema(description = "节点ip")
    private String ip;
    @Schema(description = "cpu的值")
    private Double cpu;
    @Schema(description = "内存的值")
    private Double mem;
    @Schema(description = "温度的值")
    private Double tmp;
    /**
     * 人员编码
     */
    @Schema(description = "人员编码")
    private String userCode;
    /**
     * 空闲内存
     */
    private Double freeMemory;
    /**
     * 总内存
     */
    private Double totalMemory;
}
